package system

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// SysUserFollow 用户关注关系表
type SysUserFollow struct {
	global.GVA_MODEL
	FollowerID uint `json:"follower_id" gorm:"index;comment:关注者ID"`  // 关注者ID
	FollowedID uint `json:"followed_id" gorm:"index;comment:被关注者ID"` // 被关注者ID
}

func (SysUserFollow) TableName() string {
	return "sys_user_follows"
}
